package com.qdu.mapper;

import java.util.List;

import com.qdu.entity.Rent;


public interface RentMapper {

	void insert(Rent r);

	void delete(String resident,String houseowner,String hid);

	Rent getOneById(String resident,String houseowner,String hid);
	
	List<Rent> getbyhouseowner(String houseowner,String hid);

	List<Rent> getOneByresident(String resident);

	List<Rent> getAll();

}
